﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListHunter.aspx.cs" Inherits="lcmyjobs.Web.Admin.ListHunter" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>全部升级单位</title>
    <script src="../Scripts/mybasic.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <link href="../css/AdminFrame.css" rel="stylesheet" type="text/css" />
     <style type="text/css">
        .style1
        {
            width: 100%;
        }

         .style4
         {
             height: 14px;
         }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="rightCenter">
        <div class="rightBack">
           <div class="rightContentTop">
                <ul>
                    <li class="cur">
                        <a href="ListHunter.aspx" >全部猎头职位</a>
                    </li>
                    <li >
                        <a href="ListHunterSubmit.aspx" >申请猎头职位</a>
                    </li>
                    <li>
                        <a  href="userAdv.aspx">高级人才</a>
                    </li>
                </ul>
           </div>
           <div class="rightContentMiddle">
                <table class="style1">
                <tr>
                    <td style=" text-align:left; font-size:12px; " class="style3">
                        <asp:Image ID="Image1" CssClass=" imgstyle" ImageUrl="../images/h_ctenter_iocn.jpg" runat="server" />&nbsp;
                      <span class="spanstyle">等待审核猎头职位<asp:Label ID="lbl_count" runat="server"></asp:Label>个</span>
                    </td>
                    <td style=" text-align:left">
                          
                    </td>
                </tr>
                 <tr>
                    <td colspan="2">
                      <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            DataKeyNames="enterprise_aid" EnableModelValidation="True" 
                            onrowcommand="GridView1_RowCommand" Width="100%" CssClass="grid" 
                            GridLines="None" onrowdatabound="GridView1_RowDataBound">
                            <Columns>
                                <asp:TemplateField HeaderText="编号">
                                        <HeaderTemplate>
                                         <input id="Checkbox1" type="checkbox" onclick="checkall(this)" />&nbsp;编号
                                    </HeaderTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>
                                         <asp:CheckBox ID="cbo_rid1" runat="server" />&nbsp;<asp:Label ID="Label2" runat="server" 
                                            Text='<%# GetBH(Eval("enterprise_aid").ToString()) %>'></asp:Label>
                                    </ItemTemplate>
                                      <HeaderStyle HorizontalAlign="Left" CssClass="tdleftmargin"/>
                                    <ItemStyle  CssClass="tdleftmargin" HorizontalAlign="Left" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="招聘职位">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="hy_jobs" runat="server" target='_blank'
                                            NavigateUrl='<%# "ShowJobs.aspx?jobsid="+Eval("enterprise_rid") %>' 
                                            Text='<%# Bind("jobs_name") %>'></asp:HyperLink>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:BoundField DataField="name" HeaderText="招聘单位" />
                                <asp:BoundField DataField="salaryy" HeaderText="年薪(万)" />
                                <asp:BoundField DataField="statusname" HeaderText="审核" />
                                <asp:TemplateField HeaderText="有效期">
 
                                    <ItemTemplate>
                                        <asp:Label ID="label_valid" runat="server" 
                                            Text='<%# lcmyjobs.BLL.Tools.GetValidity(Eval("validity_last").ToString()) %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="issuccessname" HeaderText="成功" />
                                <asp:BoundField DataField="releasetime" HeaderText="发布日期" DataFormatString="{0:yyyy-MM-dd H:mm}" />
                                <asp:TemplateField HeaderText="操作">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lbn_check" runat="server" 
                                             OnClientClick= "return confirm('确认要刷新吗？')" CommandArgument='<%# Bind("enterprise_aid") %>' CommandName="lbn_check">刷新</asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>

                            </Columns>
                        </asp:GridView>
 
                    </td>
                </tr>
                <tr>
                    <td colspan="2"  class="pagerstyle">
                        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" CurrentPageButtonPosition="Center"
                           PageSize="15" AlwaysShowFirstLastPageNumber="True" CustomInfoTextAlign="Left"
                    FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" NumericButtonCount="10"
                    PrevPageText="上一页" CssClass="paginator" CurrentPageButtonClass="" CustomInfoHTML="第 %CurrentPageIndex% 页 共 %PageCount%页 %RecordCount%条记录 "
                    LayoutType="Table" ShowCustomInfoSection="Left" ShowNavigationToolTip="True"
                    ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" TextAfterPageIndexBox="&nbsp;页"
                    TextBeforePageIndexBox="转到第" onpagechanged="AspNetPager1_PageChanged">
                        </webdiyer:AspNetPager>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="style4">&nbsp;
                        </td>
                </tr>
                <tr>
                    <td colspan="2">
                     <div style=" margin:0 auto; width:450px;">
                        <asp:LinkButton ID="lbn_upd" runat="server" CssClass="bgbtn" ForeColor="#e13804"  OnClientClick= "if(havecheck()) return confirm('确认要审核吗？')" onclick="lbn_update_Click">审核</asp:LinkButton>
<asp:LinkButton ID="lbn_cancle" runat="server" CssClass="bgbtn" ForeColor="#e13804"  OnClientClick= "if(havecheck()) return confirm('确认要取消审核吗？')" onclick="lbn_cancle_Click">取消审核</asp:LinkButton>
<asp:LinkButton ID="lbn_issuccess" runat="server" CssClass="bgbtn" ForeColor="#e13804"  OnClientClick= "if(havecheck()) return confirm('确认要成功吗？')" onclick="lbn_issuccess_Click">成功</asp:LinkButton>
<asp:LinkButton ID="lbn_refresh" runat="server" CssClass="bgbtn" ForeColor="#e13804"  OnClientClick= "if(havecheck()) return confirm('确认要刷新猎头吗？')" onclick="lbn_del_Click">刷新猎头</asp:LinkButton>

</div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        &nbsp;</td>
                </tr>
            </table>
           </div>
        </div>
    </div>
    </form>
</body>
</html>